//
//  JWRateStarAlertView.h
//  DxyClient
//
//  Created by Xu Jiwei on 11-6-27.
//  Copyright 2011 Xujiwei.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@class JWRateStarAlertView;
@class JWRateStarView;


@protocol JWRateStarAlertViewDelegate <NSObject>

@optional
- (void)rateStarAlertView:(JWRateStarAlertView *)alertView didDismissWithRate:(float)rate;
- (void)rateStarAlertViewDidCancel:(JWRateStarAlertView *)alertView;

@end


@interface JWRateStarAlertView : UIAlertView <UIAlertViewDelegate> {
    JWRateStarView      *rateStarView;
}

- (id)initWithTitle:(NSString *)title starCount:(NSUInteger)starCount delegate:(id<JWRateStarAlertViewDelegate>)delegate;


@property (nonatomic, assign)  id<JWRateStarAlertViewDelegate>     rateAlertDelegate;

@end
